package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 地址对象 sys_address
 *
 * @author jjp
 * @date 2020-04-22
 */
@ApiModel("地址对象")
public class SysAddress extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty("地址主键id ")
    private Long addressId;

    /**
     * $column.columnComment
     */
    @ApiModelProperty("用户ID")
    private Long mobileUserId;

    /**
     * 用户名
     */
    @ApiModelProperty(name = "用户名")
    private String name;

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "手机号码")
    private String phone;

    @ApiModelProperty(name = "地址")
    private String area;

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "详细地址")
    private String address;

    /**
     * $column.columnComment
     */
    @ApiModelProperty("是否启用")
    private String delFlag;

    private String sex;

    private String sign;
    /**
     * 0-不是 1-默认收货地址
     */
    @ApiModelProperty(name = "0-不是 1-默认收货地址 ")
    private String defalut;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDefalut(String defalut) {
        this.defalut = defalut;
    }

    public String getDefalut() {
        return defalut;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "SysAddress{" +
                "addressId=" + addressId +
                ", mobileUserId=" + mobileUserId +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", area='" + area + '\'' +
                ", address='" + address + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", defalut='" + defalut + '\'' +
                '}';
    }
}
